package cn.crex1.xiaomi.dao;

import cn.crex1.xiaomi.core.orm.annotion.Query;
import cn.crex1.xiaomi.core.orm.annotion.ResultType;
import cn.crex1.xiaomi.pojo.Order;

public interface OrderDao {
	@Query(sql = "select order_id from os_order where order_number and order_status and order_amount and create_time")
	@ResultType(value = "int")
	int selectOsOrderQueryOrderPriceAndDeliveryTime(Order order);

	int selectOsorderByOsNumber(Order order);

	int insertOsorderByOrderNumber(Order order);

	int deleteOsorderByOrderNumber(Order order);

	int updateOsorderByPaytypeAndShipmenttimeAndShipmenttypeAndInvoicetype(Order order);
}
